package com.fumin.service.supperMapper;

import com.fumin.pojo.Projects;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by Lingo on 2018/3/4.
 */
public interface SupperProjectsMapper {

    List<Projects> selectPage(@Param("start") Integer start, @Param("offset")Integer offset);
    List<Projects> selectPageByStatus(@Param("start") Integer start, @Param("offset")Integer offset,
                                      @Param("status") Integer status
                                      );
    Map<String,Long> selectNumByStatus(@Param("status") Integer status);
    List<Projects> selectPageByName(@Param("start") Integer start, @Param("offset")Integer offset,
                                    @Param("project_name") String name);
}
